<?php
namespace app\admin\model;

class AdminRole extends \think\Model
{
    public function getIdNameList()
    {
        return $this->where('status', 1)->column('id, name');
    }
}
